<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@ include file="/commons/global.jsp"%>
<%@ include file="/commons/tag.jsp"%>
<%@ include file="/commons/js/basejs.jsp"%>
<%@ include file="/commons/js/extjs.jsp"%>
<%@ include file="/commons/css/basecss.jsp"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div id="win1" >

</div>
<div id="win2">666</div>
<button onclick="onclick1()">点击有惊喜</button>
<script type="text/javascript">
	function onclick1(){
		$.ajax({  
            type : "POST",  
            url : "${base}/SystemOrder/payTest",
            data : {},
            success : function(result) {
            	console.info(result);
            	//var element= $(result).get(0); //element就是一个dom对象
            	//var jqueryobj=$(element);//jqueryobj就是一个Jquery对象。
            	//var s="<div class='style'>"+result+"</div>"	;
            	
            	//console.info(element);
            	//console.info($(element));
            	$('#win1').html(result);
            	//document.getElementById('win1').innerHTML=element;  
            	//element.outerHTML;
            	//window.location.replace(result); 
            	 //alert(result);
            	//document.getElementById('win2').innerHTML=666; 
    	    	//$('#win').window('open'); 
    	    	
            }  
        });      
	}
</script>
</body>
</html>